<template>
  <div>
      <h1>FOO</h1>
      <ul>
          <li
            v-for="item of posts"
            :key="item.id"
          >
          <router-link :to="`/article/${item.id}`">{{item.title}}</router-link>
          </li>
      </ul>
  </div>
</template>

<script>
export default {
    props: ['posts']
}
</script>

<style>

</style>